<?php
    include_once('../src/classes/class.mysql.php');
    $db = new MySQL();
    $stmt = $db->query("SELECT company_name FROM mainteiner AS m INNER JOIN users AS u ON u.comtec_id_mainteiner = m.comtec_id_mainteiner WHERE u.comtec_id_user =".$_GET['id']);
    $row = mysql_fetch_array($stmt, MYSQL_NUM);
    echo "<h3>".$row[0]."</h3>";
?>
